.shadow {
  display: block;
  width: 100%;
  height: 0px;
  border-bottom: 1px solid #4e4e4e;
}
.clear {
  clear: both;
  display: block;
  height: 0;
}
.textfix {
  text-overflow: ellipsis;
  overflow-x: hidden;
  white-space: nowrap;
}
.justfix {
  display: inline-block;
  width: 100%;
  height: 0;
  overflow: hidden;
}
.justyHold {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #292929;
}
.scrollbar::-webkit-scrollbar-thumb {
  background-color: #3e3e3e;
  border-radius: 2px;
}
.scrollbar::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #323232;
}
@font-face {
  font-family: myFont;
  src: url('../other/RobotoCondensed-Regular.ttf');
  font-weight: normal;
}
@font-face {
  font-family: myFontBold;
  src: url('../other/RobotoCondensed-Bold.ttf');
  font-weight: bold;
}
body,
ul,
p,
h1,
h2,
h3 {
  padding: 0;
  margin: 0;
}
ul {
  list-style: none;
  -webkit-padding-start: 0px;
}
em {
  font-style: normal;
}
a {
  text-decoration: none;
  color: #e4e4e4;
}
textarea {
  resize: none;
}
.g_barhead {
  display: block;
  height: 10px;
  width: 100%;
  background: linear-gradient(#383838, #2b2b2b);
  border-bottom: 1px solid black;
  border-top: 1px solid #4e4e4e;
  text-align: center;
  font-size: 12px;
}
.g_tab {
  height: 22px;
  width: 100%;
  background: linear-gradient(#383838, #2b2b2b);
  border-bottom: 1px solid #4e4e4e;
  text-align: left;
}
.g_tab.sec {
  border-top: 1px solid black;
}
.g_tab span {
  display: inline-block;
  border-right: 1px solid black;
  color: #bbb;
  font-size: 12px;
  text-align: center;
  padding: 0 4px;
  line-height: 22px;
  float: left;
}
.g_tab span.curr {
  background: linear-gradient(#525252, #383838);
  color: white;
}
.g_dialog {
  border: 1px solid black;
  box-shadow: 0 0 2px #323232;
  background-color: #3e3e3e;
  position: absolute;
  left: 50%;
  top: 50%;
  display: none;
  box-sizing: border-box;
  text-align: center;
  transition: height 0.3s linear, margin-top 0.3s linear;
}
.g_dialog .g_barhead {
  height: 20px;
  line-height: 20px;
}
.g_dialog .g_barhead i {
  display: block;
  position: absolute;
  right: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  border: 1px solid #222;
  cursor: pointer;
  background-color: #ef6666;
}
.g_dialog .g_body {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
.g_dialog .g_bt {
  position: relative;
  margin: 4px auto 0;
  border-top: 1px solid black;
  line-height: 40px;
}
.g_dialog .g_bt:before {
  display: block;
  width: 100%;
  height: 0px;
  border-bottom: 1px solid #4e4e4e;
  content: '';
  position: absolute;
  top: 0;
}
.g_dialog .g_tip {
  font-size: 12px;
  color: #eee;
}
.g_dialog input,
.g_dialog textarea {
  border: 1px solid black;
  background: #4e4e4e;
  text-align: center;
  margin-left: 16px;
  color: #e4e4e4;
  outline: none;
  font-size: 12px;
}
.g_io {
  display: none;
}
.g_img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  overflow: hidden;
}
.g_button {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  vertical-align: middle;
  width: 80px;
  margin: 0 2px;
  border: 1px solid black;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.12) inset;
  background: linear-gradient(#4f4f4f, #393939);
  text-align: center;
}
.g_button:hover {
  background: linear-gradient(#57708d, #2e4463);
}
.g_button.press {
  box-shadow: 0 0 2px #222222 inset;
  background: linear-gradient(#434343, #313131);
}
.g_toolicon {
  width: 24px;
  height: 24px;
  border-radius: 2px;
}
.g_toolicon i {
  background-image: url('../img/tool.png');
  background-size: 140px;
  display: block;
  width: 100%;
  height: 100%;
}
.g_list {
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
}
.g_list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #292929;
}
.g_list::-webkit-scrollbar-thumb {
  background-color: #3e3e3e;
  border-radius: 2px;
}
.g_list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #323232;
}
.g_list li {
  width: 100%;
  margin: 0 auto;
  line-height: 24px;
  background: #4a4a4a;
  border-bottom: 1px solid #191919;
}
.g_list li:hover {
  background-color: #838383;
}
.g_slide {
  position: relative;
  min-height: 20px;
}
.g_slide .g_slide_ball,
.g_slide .g_slide_bar {
  position: absolute;
  top: 50%;
  height: 6px;
  border-radius: 2px;
  border: 1px solid black;
  box-sizing: border-box;
}
.g_slide .g_slide_bar {
  margin-top: -3px;
  width: 100%;
  background: #292929;
}
.g_slide .g_slide_ball {
  width: 16px;
  height: 16px;
  border-radius: 100%;
  margin-top: -8px;
  background: linear-gradient(#4f4f4f, #393939);
}
.g_slide .g_slide_ball:hover {
  background: linear-gradient(#57708d, #2e4463);
}
#edit {
  -webkit-flex: 1;
  -webkit-backface-visibility: hidden;
}
#edit_up {
  height: 90%;
  visibility: hidden;
  position: relative;
  text-align: center;
}
#select_area {
  position: absolute;
  left: 0;
  top: 0;
  border: 1px solid #1A293E;
  background: #2D3E54;
  opacity: 0.8;
  box-sizing: border-box;
  z-index: 10;
  display: none;
}
#edit_tool {
  position: absolute;
  top: 0;
  left: 0;
  border-right: 1px solid #191919;
  border-bottom: 1px solid #191919;
  z-index: 2;
  background-color: #3e3e3e;
  padding: 3px 0;
}
#edit_tool:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 32px;
  vertical-align: top;
  background: url(../img/tool.png) no-repeat;
  background-position: -139px -54px;
  float: left;
  margin-top: 3px;
}
#edit_tool div {
  display: block;
  float: left;
  width: 32px;
  height: 32px;
  line-height: 32px;
  margin: 3px;
  border-radius: 4px;
}
#edit_tool div i {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  background: url('../img/tool.png') no-repeat;
  background-size: 126px;
  display: block;
}
#edit_tool div#tool_normal i {
  background-position: -4px -232px;
}
#edit_tool div#tool_hold i {
  background-position: -30px -232px;
}
#edit_tool div#tool_rain i {
  background-position: -58px -232px;
}
#edit_tool.taiko .g_button {
  width: 40px;
  height: 40px;
  margin: 0 3px;
  position: relative;
}
#edit_tool.taiko .g_button i {
  background: url('../img/taiko_toolbar.png') no-repeat;
  background-size: 320px;
}
#edit_tool.taiko .g_button b {
  position: absolute;
  right: 2px;
  bottom: 0;
  font-weight: normal;
  line-height: 14px;
}
#edit_tool.taiko #toggle_divergence {
  width: 260px;
  margin-top: 0;
}
#edit_tool.taiko #toggle_divergence span {
  display: block;
  float: left;
  height: 20px;
  line-height: 20px;
  vertical-align: middle;
  width: 80px;
  font-size: 12px;
  margin: 0 2px;
  border: 1px solid black;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.12) inset;
  background: linear-gradient(#4f4f4f, #393939);
  text-align: center;
}
#edit_tool.taiko #toggle_divergence span:hover,
#edit_tool.taiko #toggle_divergence span.curr {
  background: linear-gradient(#57708d, #2e4463);
}
#edit_tool.taiko #title_divergence {
  font-size: 12px;
  line-height: 14px;
  margin-bottom: 4px;
}
#edit_tool.taiko .n_side i {
  background-position: -40px 0;
}
#edit_tool.taiko .n_center_heavy i {
  background-position: -80px 0;
}
#edit_tool.taiko .n_side_heavy i {
  background-position: -120px 0;
}
#edit_tool.taiko .n_slide i {
  background-position: -160px 0;
}
#edit_tool.taiko .n_slide_heavy i {
  background-position: -200px 0;
}
#edit_tool.taiko .n_qiqiu i {
  background-position: -240px 0;
}
#edit_tool.taiko .n_digua i {
  background-position: -280px 0;
}
#edit_area {
  width: auto;
  height: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-left: none;
  border-right: none;
  margin: 0 auto;
  display: inline-block;
}
#edit_area #grid,
#edit_area #grid_line,
#edit_area #note_area,
#edit_area #bar_line {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 100%;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
}
#edit_area.ubeat #grid_line {
  width: 138px;
}
#edit_area.ubeat #grid_line i {
  width: 98px;
}
#edit_area.ubeat #grid_line i.hr {
  width: 138px;
}
#edit_area #grid {
  padding: 0 0 0 75px;
  position: relative;
}
#edit_area #grid div {
  display: none;
  box-sizing: border-box;
  width: 60px;
  height: 100%;
  margin: 0 0 0 4px;
  border: 1px solid black;
  background: #3e3e3e;
  opacity: 0.8;
  box-shadow: 0 0 2px #222222 inset;
  border-radius: 3px;
}
#edit_area #grid div.note {
  display: inline-block;
}
#edit_area #grid div.sound {
  display: inline-block;
  background: #4e4035;
}
#edit_area #grid .judge {
  width: 100%;
  height: 3px;
  display: block;
  position: absolute;
  bottom: 99px;
  background-color: #ef6666;
  z-index: 1;
  left: 79px;
}
#edit_area #grid_line {
  width: 100%;
}
#edit_area #grid_line i {
  position: absolute;
  width: 100%;
  height: 1px;
  background: #c4c4c4;
  display: block;
  opacity: 0.4;
  z-index: 1;
  left: 40px;
}
#edit_area #grid_line i.hr {
  opacity: .85;
  left: 0;
}
#edit_area #grid_line i.red {
  background-color: #ef6666;
  height: 2px;
  opacity: 0.85;
}
#edit_area #grid_line i.h2 {
  background-color: #66cdef;
}
#edit_area #grid_line i.h3 {
  background-color: #66efaa;
}
#edit_area #grid_line i.h4 {
  background-color: #ef66ee;
}
#edit_area #grid_line em {
  position: absolute;
  left: 0;
  font-size: 14px;
  color: #555555;
  background: #c1c1c1;
  padding: 2px 8px;
  border-radius: 8px;
  margin-bottom: -10px;
  z-index: 3;
}
#edit_area #grid_line span {
  display: block;
  position: absolute;
  left: 40px;
  width: 36px;
  height: 15px;
  font-size: 12px;
  background: #ef6666;
  opacity: 0.8;
  color: white;
}
#edit_area #note_area {
  width: 100%;
  left: 81px;
  z-index: 2;
}
#edit_area #note_area div {
  position: absolute;
  width: 56px;
  border-radius: 5px;
  height: 20px;
  background: #858e9f;
  opacity: 0.9;
  box-sizing: border-box;
  z-index: 2;
}
#edit_area #note_area div.curr {
  border: 1px solid white;
  background: linear-gradient(#2d3e54, #1a293e) !important;
}
#edit_area #note_tip {
  position: absolute;
  border: 1px solid black;
  border-radius: 4px;
  background-color: #3e3e3e;
  width: auto;
  height: auto;
  z-index: 20;
  display: none;
  padding: 4px;
}
#edit_area #note_tip span {
  display: block;
  line-height: 20px;
  text-align: left;
}
#edit_area.ubeat #grid {
  width: 140px;
  float: left;
  margin-right: 4px;
}
#edit_area.ubeat #grid .judge {
  width: 60px;
}
#edit_area.ubeat #musicbar {
  float: left;
  width: 64px;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid black;
  background: #3e3e3e;
  opacity: 0.8;
  box-shadow: 0 0 2px #222222 inset;
  border-radius: 3px;
}
#edit_area.ubeat #bar_line {
  width: 1px;
}
#edit_area.ubeat #bar_line .bar {
  position: absolute;
  opacity: 0.8;
  height: 4px;
  margin-left: 145px;
  margin-bottom: -1px;
  background-color: white;
}
#edit_area.ubeat #bar_line .bar2 {
  background-color: #ef6666;
}
#edit_area.catch {
  width: 1080px;
}
#edit_area.catch .hold_line {
  position: absolute;
  height: 1px;
  -webkit-transform-origin: left bottom;
  background: transparent;
  display: block;
  border-bottom: 2px dashed white;
  margin: 0 0 -20px -20px;
}
#edit_area.catch .spinner_mask {
  position: absolute;
  width: 790px;
  background-color: #2D3E54;
  opacity: 0.5;
  display: block;
}
#edit_area.catch .spinner_anchor {
  border-style: dashed!important;
  opacity: 0.4!important;
  left: 380px!important;
}
#edit_area.catch #grid .note {
  position: relative;
  width: 79%;
}
#edit_area.catch #grid .note i {
  position: absolute;
  width: 1px;
  height: 100%;
  background: #c4c4c4;
  display: block;
  opacity: 0.4;
}
#edit_area.catch #grid .note i.re {
  z-index: 1;
  background: #ef6666;
  opacity: 1;
}
#edit_area.catch #grid .sound {
  width: 20%;
}
#edit_area.catch #range {
  height: 100%;
  position: absolute;
  display: none;
  top: 0;
}
#edit_area.catch #range div {
  display: inline-block;
  height: 100%;
  opacity: 0.35;
}
#edit_area.catch #range div.dash {
  background-color: #ff7c3c;
}
#edit_area.catch #range div.normal {
  background-color: #3fcaff;
}
#edit_area.catch #note_vert {
  width: 2px;
  background-color: #ef6666;
  height: 100%;
  position: absolute;
  margin-left: 81px;
  display: none;
  top: 0;
}
#edit_area.catch #note_area div {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin: 0 0 -20px -20px;
  border: 2px solid white;
}
#ubt_edit_area {
  z-index: 3;
  display: inline-block;
  float: left;
  position: relative;
}
#ubt_edit_area .row {
  clear: both;
}
#ubt_edit_area .row .block {
  width: 122px;
  height: 122px;
  margin: 8px;
  background-color: #292929;
  border: 2px solid #353e4f ;
  float: left;
  border-radius: 6px;
  opacity: .8;
}
#ubt_edit_area .row .block.selected,
#ubt_edit_area .row .block.start-point {
  border-color: #ef6666;
}
#ubt_edit_area .row .block.disabled {
  opacity: 0.3;
}
#ubt_edit_area .note {
  width: 122px;
  height: 122px;
  box-sizing: border-box;
  border-radius: 6px;
  background-size: contain;
  z-index: 1;
  position: absolute;
}
#ubt_edit_area .note.curr {
  border: 2px solid #ef6666;
}
#ubt_edit_area .note b {
  display: block;
  font-size: 14px;
  color: #e4e4e4;
  width: 40px;
  margin: 0 auto;
}
#grid_line_mask {
  width: 72px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
#hold_hint {
  width: 940px;
  height: 24px;
  position: absolute;
  left: 132px;
  top: 6px;
  text-align: center;
  display: none;
  z-index: 9;
}
#ubt_select_area {
  position: absolute;
  z-index: 8;
  border: 2px solid #ef6666;
  display: none;
}
#taiko_edit_area {
  width: 100%;
  height: 100%;
  position: relative;
}
#taiko_edit_area .track1,
#taiko_edit_area .track2,
#taiko_edit_area .sound_track {
  position: absolute;
  left: 0;
  width: 100%;
}
#taiko_edit_area .track1,
#taiko_edit_area .track2,
#taiko_edit_area .sound_track {
  height: 60px;
  border-top: 2px solid #ef6666;
  border-bottom: 2px solid #ef6666;
}
#taiko_edit_area .track1 {
  top: 80px;
  background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#fd931d), to(#37392c), color-stop(0.7, #8b322e));
}
#taiko_edit_area .track2 {
  top: 170px;
  background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#a4b741), to(#37392c), color-stop(0.7, #24586e));
}
#taiko_edit_area .sound_track {
  top: 260px;
  background: -webkit-gradient(linear, 0% 0%, 100% 0%, from(#4e4035), to(#cccccc), color-stop(0.7, #666633));
}
#taiko_edit_area #track_t1,
#taiko_edit_area #track_t2,
#taiko_edit_area #track_t3 {
  left: 4px;
  position: absolute;
}
#taiko_edit_area #track_t1 {
  top: 60px;
}
#taiko_edit_area #track_t2 {
  top: 150px;
}
#taiko_edit_area #track_t3 {
  top: 240px;
}
#taiko_edit_area #cav_main {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
#taiko_edit_area #cav_projection {
  display: none;
}
#taiko_edit_area .judge_line {
  position: absolute;
  z-index: 1;
  left: 50px;
  top: 40px;
  width: 0;
  height: 300px;
  border: 1px solid #ef6666;
}
#taiko_resource {
  display: none;
}
